-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update CommandLineUtils #319
Conversation
@@ -234,7 +234,7 @@ class CodeGenArguments | |||
public string OutputFileName { get; set; } | |||
public IEnumerable<string> SkipInterfaces { get; set; } | |||
public Dictionary<string, string> Interfaces { get; set; } | |||
public List<string> Files { get; set; } | |||
public IReadOnlyList<string> Files { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The List doesn't work with the McMaster.Extensions.CommandLineUtils
's package?
How did you find out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compiler reports:
Cannot implicitly convert type 'System.Collections.Generic.IReadOnlyList<string?>' to 'System.Collections.Generic.List<string>'. An explicit conversion exists (are you missing a cast?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this line
Files = _files.Values, |
Got it.
@tibel the tool has no tests. Did you do some manual verification? |
35afe20
to
5b47c3b
Compare
I ran some commands on a Raspberry Pi to check if the behavior hasn't changed. |
5b47c3b
to
7fb65ea
Compare
lgtm, thanks! |
see https://natemcmaster.github.io/CommandLineUtils/docs/intro.html#relationship-to-microsoftextensionscommandlineutils